<template>
  <el-select v-model="area" placeholder="请选择" @change="onChangeArea" size="mini">
    <el-option v-for="item in areaOptions" :key="item.value" :label="item.label"
               :value="item.value"></el-option>
  </el-select>
</template>

<script type="text/ecmascript-6">
  export default {
    data () {
      return {
        area: '',
        areaOptions: []
      }
    },
    created () {
    },
    methods: {
      onChangeArea () {
        this.$emit('onChangeAreas', this.area)
      }
    }
  }
</script>

<style lang="less" ref="stylesheet/less" scoped>

</style>
